<?php

/**
 * This is method __construct
 *
 * @param mixed $options This is a description
 * @return mixed This is the return value description
 *
 */
class Form_Authorize extends Zend_Form {
	/**
	 * This is method __construct
	 *
	 * @param mixed $options This is a description
	 * @return mixed This is the return value description
	 *
	 */	
	public function __construct($options = null) {
		parent::__construct($options);
		$this->setName('authorize');
		
		$accept = new Zend_Form_Element_Submit('commit');
		$accept->setAttrib('id', 'accept');
		$accept->setAttrib('class', 'submit');
		$accept->setLabel('Confirm!');
		
		$deny = new Zend_Form_Element_Submit('deny');
		$deny->setAttrib('id', 'deny');
		$deny->setAttrib('class', 'submit');
		$deny->setLabel('Cancel');
		
		$this->addElements(array($accept, $deny));
	}
}